<?php
/**
 * Shoehorn Configuration
 * @package shoehorn
 * @subpackage configuration
 */

/**#@+
 * Constants
 */
/**
 * Base Folder
 */
define("SHOEHORN_BASE_FOLDER", "c:/www");
/**
 * Web Viewable Folder
 */
define("SHOEHORN_WEB_FOLDER", SHOEHORN_BASE_FOLDER . "/htdocs");
/**
 * Script Folder
 */
define("SHOEHORN_SCRIPT_FOLDER", SHOEHORN_BASE_FOLDER . "/inc/shoehorn");
/**
 * Locale
 */
define("SHOEHORN_LOCALE", "en_us");
/**
 * Database Connection String
 * 
 * in the form of:
 * type/user:password,database@host
 */
define("SHOEHORN_DB_DSN", "pgsql/user:password,database@host");

/**
 * Authentication Type
 */
define("SHOEHORN_AUTH_TYPE", "ldap");

/**
 * LDAP Host
 */
define("SHOEHORN_LDAP_HOST", "10.0.0.35");
/**
 * LDAP username prefix
 */
define("SHOEHORN_LDAP_USER_PREFIX", "CALVARY\\");
/**
 * LDAP base DNs separated by pipe
 */
define("SHOEHORN_LDAP_BASEDN", "OU=users,DC=domain,DC=local|CN=appleusers,DC=domain,DC=local|OU=rebelalliance,DC=domain,DC=local");

require_once(SHOEHORN_SCRIPT_FOLDER . "/shoehorn.class.php");
require_once(SHOEHORN_SCRIPT_FOLDER . "/shoehorn_auth.class.php");
require_once(SHOEHORN_SCRIPT_FOLDER . "/shoehorn_data.class.php");
require_once(SHOEHORN_SCRIPT_FOLDER . "/shoehorn_error.class.php");
